import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/api/@ohos.bluetooth.ble.d.ts',
  content: "/*\n * Copyright (C) 2023-2024 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ConnectivityKit\n */\nimport type { AsyncCallback, Callback } from './@ohos.base';\nimport type constant from './@ohos.bluetooth.constant';\n/**\n * Provides methods to operate or manage Bluetooth.\n *\n * @namespace ble\n * @syscap SystemCapability.Communication.Bluetooth.Core\n * @since 10\n */\n/**\n * Provides methods to operate or manage Bluetooth.\n *\n * @namespace ble\n * @syscap SystemCapability.Communication.Bluetooth.Core\n * @atomicservice\n * @since 12\n */\n/**\n * Provides methods to operate or manage Bluetooth.\n *\n * @namespace ble\n * @syscap SystemCapability.Communication.Bluetooth.Core\n * @crossplatform\n * @atomicservice\n * @since 13\n */\ndeclare namespace ble {\n    /**\n     * Indicate the profile connection state.\n     *\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Indicate the profile connection state.\n     *\n     * @typedef { constant.ProfileConnectionState } ProfileConnectionState\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Indicate the profile connection state.\n     *\n     * @typedef { constant.ProfileConnectionState } ProfileConnectionState\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    type ProfileConnectionState = constant.ProfileConnectionState;\n    /**\n     * create a Gatt server instance.\n     *\n     * @returns { GattServer } Returns a Gatt server instance {@code GattServer}.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * create a Gatt server instance.\n     *\n     * @returns { GattServer } Returns a Gatt server instance {@code GattServer}.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * create a Gatt server instance.\n     *\n     * @returns { GattServer } Returns a Gatt server instance {@code GattServer}.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    function createGattServer(): GattServer;\n    /**\n     * create a Gatt client device instance.\n     *\n     * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n     * @returns { GattClientDevice } Returns a Gatt client device instance {@code GattClientDevice}.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * create a Gatt client device instance.\n     *\n     * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n     * @returns { GattClientDevice } Returns a Gatt client device instance {@code GattClientDevice}.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * create a Gatt client device instance.\n     *\n     * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n     * @returns { GattClientDevice } Returns a Gatt client device instance {@code GattClientDevice}.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    function createGattClientDevice(deviceId: string): GattClientDevice;\n    /**\n     * Create a ble scanner instance. Each ble scanner instance can be independently started or stopped.\n     *\n     * @returns { BleScanner } Returns the promise object.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    function createBleScanner(): BleScanner;\n    /**\n     * Obtains the list of devices in the connected status.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @returns { Array<string> } Returns the list of device address.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Obtains the list of devices in the connected status.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @returns { Array<string> } Returns the list of device address.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    function getConnectedBLEDevices(): Array<string>;\n    /**\n     * Starts scanning for specified BLE devices with filters.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { Array<ScanFilter> } filters - Indicates the list of filters used to filter out specified devices.\n     * If you do not want to use filter, set this parameter to {@code null}.\n     * @param { ScanOptions } options - Indicates the parameters for scanning and if the user does not assign a value, the default value will be used.\n     * {@link ScanOptions#interval} set to 0, {@link ScanOptions#dutyMode} set to {@link SCAN_MODE_LOW_POWER}\n     * and {@link ScanOptions#matchMode} set to {@link MATCH_MODE_AGGRESSIVE}.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Starts scanning for specified BLE devices with filters.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { Array<ScanFilter> } filters - Indicates the list of filters used to filter out specified devices.\n     * If you do not want to use filter, set this parameter to {@code null}.\n     * @param { ScanOptions } options - Indicates the parameters for scanning and if the user does not assign a value, the default value will be used.\n     * {@link ScanOptions#interval} set to 0, {@link ScanOptions#dutyMode} set to {@link SCAN_MODE_LOW_POWER}\n     * and {@link ScanOptions#matchMode} set to {@link MATCH_MODE_AGGRESSIVE}.\n     * and {@link ScanOptions#phyType} set to {@link PHY_LE_ALL_SUPPORTED}.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Starts scanning for specified BLE devices with filters.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { Array<ScanFilter> } filters - Indicates the list of filters used to filter out specified devices.\n     * If you do not want to use filter, set this parameter to {@code null}.\n     * @param { ScanOptions } options - Indicates the parameters for scanning and if the user does not assign a value, the default value will be used.\n     * {@link ScanOptions#interval} set to 0, {@link ScanOptions#dutyMode} set to {@link SCAN_MODE_LOW_POWER}\n     * and {@link ScanOptions#matchMode} set to {@link MATCH_MODE_AGGRESSIVE}.\n     * and {@link ScanOptions#phyType} set to {@link PHY_LE_ALL_SUPPORTED}.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    function startBLEScan(filters: Array<ScanFilter>, options?: ScanOptions): void;\n    /**\n     * Stops BLE scanning.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Stops BLE scanning.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Stops BLE scanning.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    function stopBLEScan(): void;\n    /**\n     * Starts BLE advertising.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertiseSetting } setting - Indicates the settings for BLE advertising.\n     * @param { AdvertiseData } advData - Indicates the advertising data.\n     * @param { AdvertiseData } advResponse - Indicates the scan response associated with the advertising data.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Starts BLE advertising.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertiseSetting } setting - Indicates the settings for BLE advertising.\n     * @param { AdvertiseData } advData - Indicates the advertising data.\n     * @param { AdvertiseData } advResponse - Indicates the scan response associated with the advertising data.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Starts BLE advertising.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertiseSetting } setting - Indicates the settings for BLE advertising.\n     * @param { AdvertiseData } advData - Indicates the advertising data.\n     * @param { AdvertiseData } advResponse - Indicates the scan response associated with the advertising data.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    /**\n     * Starts BLE advertising.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertiseSetting } setting - Indicates the settings for BLE advertising.\n     * @param { AdvertiseData } advData - Indicates the advertising data.\n     * @param { AdvertiseData } advResponse - Indicates the scan response associated with the advertising data.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900010 - The number of advertising resources reaches the upper limit.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902054 - The length of the advertising data exceeds the upper limit.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    function startAdvertising(setting: AdvertiseSetting, advData: AdvertiseData, advResponse?: AdvertiseData): void;\n    /**\n     * Stops BLE advertising.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Stops BLE advertising.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Stops BLE advertising.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    function stopAdvertising(): void;\n    /**\n     * Starts BLE advertising.\n     * The API returns a advertising ID. The ID can be used to temporarily enable or disable this advertising\n     * using the API {@link enableAdvertising} or {@link disableAdvertising}.\n     * To completely stop the advertising corresponding to the ID, invoke the API {@link stopAdvertising} with ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingParams } advertisingParams - Indicates the params for BLE advertising.\n     * @param { AsyncCallback<number> } callback - the callback of advertise ID.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Starts BLE advertising.\n     * The API returns a advertising ID. The ID can be used to temporarily enable or disable this advertising\n     * using the API {@link enableAdvertising} or {@link disableAdvertising}.\n     * To completely stop the advertising corresponding to the ID, invoke the API {@link stopAdvertising} with ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingParams } advertisingParams - Indicates the params for BLE advertising.\n     * @param { AsyncCallback<number> } callback - the callback of advertise ID.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    /**\n     * Starts BLE advertising.\n     * The API returns a advertising ID. The ID can be used to temporarily enable or disable this advertising\n     * using the API {@link enableAdvertising} or {@link disableAdvertising}.\n     * To completely stop the advertising corresponding to the ID, invoke the API {@link stopAdvertising} with ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingParams } advertisingParams - Indicates the params for BLE advertising.\n     * @param { AsyncCallback<number> } callback - the callback of advertise ID.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900010 - The number of advertising resources reaches the upper limit.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902054 - The length of the advertising data exceeds the upper limit.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 20\n     */\n    function startAdvertising(advertisingParams: AdvertisingParams, callback: AsyncCallback<number>): void;\n    /**\n     * Starts BLE advertising.\n     * The API returns a advertising ID. The ID can be used to temporarily enable or disable this advertising\n     * using the API {@link enableAdvertising} or {@link disableAdvertising}.\n     * To completely stop the advertising corresponding to the ID, invoke the API {@link stopAdvertising} with ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingParams } advertisingParams - Indicates the param for BLE advertising.\n     * @returns { Promise<number> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Starts BLE advertising.\n     * The API returns a advertising ID. The ID can be used to temporarily enable or disable this advertising\n     * using the API {@link enableAdvertising} or {@link disableAdvertising}.\n     * To completely stop the advertising corresponding to the ID, invoke the API {@link stopAdvertising} with ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingParams } advertisingParams - Indicates the param for BLE advertising.\n     * @returns { Promise<number> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    /**\n     * Starts BLE advertising.\n     * The API returns a advertising ID. The ID can be used to temporarily enable or disable this advertising\n     * using the API {@link enableAdvertising} or {@link disableAdvertising}.\n     * To completely stop the advertising corresponding to the ID, invoke the API {@link stopAdvertising} with ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingParams } advertisingParams - Indicates the param for BLE advertising.\n     * @returns { Promise<number> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900010 - The number of advertising resources reaches the upper limit.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902054 - The length of the advertising data exceeds the upper limit.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 20\n     */\n    function startAdvertising(advertisingParams: AdvertisingParams): Promise<number>;\n    /**\n     * Enable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingEnableParams } advertisingEnableParams - Indicates the params for enable advertising.\n     * @param { AsyncCallback<void> } callback - the callback result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Enable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingEnableParams } advertisingEnableParams - Indicates the params for enable advertising.\n     * @param { AsyncCallback<void> } callback - the callback result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902055 - Invalid advertising id.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 20\n     */\n    function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams, callback: AsyncCallback<void>): void;\n    /**\n     * Enable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingEnableParams } advertisingEnableParams - Indicates the params for enable advertising.\n     * @returns { Promise<void> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Enable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingEnableParams } advertisingEnableParams - Indicates the params for enable advertising.\n     * @returns { Promise<void> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902055 - Invalid advertising id.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 20\n     */\n    function enableAdvertising(advertisingEnableParams: AdvertisingEnableParams): Promise<void>;\n    /**\n     * Disable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingDisableParams } advertisingDisableParams - Indicates the params for disable advertising.\n     * @param { AsyncCallback<void> } callback - the callback result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Disable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingDisableParams } advertisingDisableParams - Indicates the params for disable advertising.\n     * @param { AsyncCallback<void> } callback - the callback result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902055 - Invalid advertising id.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 20\n     */\n    function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams, callback: AsyncCallback<void>): void;\n    /**\n     * Disable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingDisableParams } advertisingDisableParams - Indicates the params for disable advertising.\n     * @returns { Promise<void> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Disable the advertising with a specific ID temporarily.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { AdvertisingDisableParams } advertisingDisableParams - Indicates the params for disable advertising.\n     * @returns { Promise<void> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902055 - Invalid advertising id.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 20\n     */\n    function disableAdvertising(advertisingDisableParams: AdvertisingDisableParams): Promise<void>;\n    /**\n     * Stops BLE advertising.\n     * Completely stop the advertising corresponding to the ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { number } advertisingId - Indicates the ID for this BLE advertising.\n     * @param { AsyncCallback<void> } callback - the callback result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Stops BLE advertising.\n     * Completely stop the advertising corresponding to the ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { number } advertisingId - Indicates the ID for this BLE advertising.\n     * @param { AsyncCallback<void> } callback - the callback result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    /**\n     * Stops BLE advertising.\n     * Completely stop the advertising corresponding to the ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { number } advertisingId - Indicates the ID for this BLE advertising.\n     * @param { AsyncCallback<void> } callback - the callback result.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902055 - Invalid advertising id.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 20\n     */\n    function stopAdvertising(advertisingId: number, callback: AsyncCallback<void>): void;\n    /**\n     * Stops BLE advertising.\n     * Completely stop the advertising corresponding to the ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { number } advertisingId - Indicates the ID for this BLE advertising.\n     * @returns { Promise<void> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Stops BLE advertising.\n     * Completely stop the advertising corresponding to the ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { number } advertisingId - Indicates the ID for this BLE advertising.\n     * @returns { Promise<void> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    /**\n     * Stops BLE advertising.\n     * Completely stop the advertising corresponding to the ID.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { number } advertisingId - Indicates the ID for this BLE advertising.\n     * @returns { Promise<void> } Returns the promise object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900001 - Service stopped.\n     * @throws { BusinessError } 2900003 - Bluetooth disabled.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @throws { BusinessError } 2902055 - Invalid advertising id.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 20\n     */\n    function stopAdvertising(advertisingId: number): Promise<void>;\n    /**\n     * Subscribing to advertising state change event.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'advertisingStateChange' } type - Type of the advertising state to listen for.\n     * @param { Callback<AdvertisingStateChangeInfo> } callback - Callback used to listen for the advertising state.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Subscribing to advertising state change event.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'advertisingStateChange' } type - Type of the advertising state to listen for.\n     * @param { Callback<AdvertisingStateChangeInfo> } callback - Callback used to listen for the advertising state.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    function on(type: 'advertisingStateChange', callback: Callback<AdvertisingStateChangeInfo>): void;\n    /**\n     * Unsubscribe from advertising state change event.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'advertisingStateChange' } type - Type of the advertising state to listen for.\n     * @param { Callback<AdvertisingStateChangeInfo> } callback - Callback used to listen for the advertising state.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Unsubscribe from advertising state change event.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'advertisingStateChange' } type - Type of the advertising state to listen for.\n     * @param { Callback<AdvertisingStateChangeInfo> } callback - Callback used to listen for the advertising state.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    function off(type: 'advertisingStateChange', callback?: Callback<AdvertisingStateChangeInfo>): void;\n    /**\n     * Subscribe BLE scan result.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n     * @param { Callback<Array<ScanResult>> } callback - Callback used to listen for the scan result event.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Subscribe BLE scan result.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n     * @param { Callback<Array<ScanResult>> } callback - Callback used to listen for the scan result event.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Subscribe BLE scan result.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n     * @param { Callback<Array<ScanResult>> } callback - Callback used to listen for the scan result event.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    function on(type: 'BLEDeviceFind', callback: Callback<Array<ScanResult>>): void;\n    /**\n     * Unsubscribe BLE scan result.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n     * @param { Callback<Array<ScanResult>> } callback - Callback used to listen for the scan result event.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Unsubscribe BLE scan result.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n     * @param { Callback<Array<ScanResult>> } callback - Callback used to listen for the scan result event.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Unsubscribe BLE scan result.\n     *\n     * @permission ohos.permission.ACCESS_BLUETOOTH\n     * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n     * @param { Callback<Array<ScanResult>> } callback - Callback used to listen for the scan result event.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.\n     * @throws { BusinessError } 2900099 - Operation failed.\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    function off(type: 'BLEDeviceFind', callback?: Callback<Array<ScanResult>>): void;\n    /**\n     * Manages GATT server. Before calling an Gatt server method, you must use {@link createGattServer} to create an GattServer instance.\n     *\n     * @typedef GattServer\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Manages GATT server. Before calling an Gatt server method, you must use {@link createGattServer} to create an GattServer instance.\n     *\n     * @typedef GattServer\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Manages GATT server. Before calling an Gatt server method, you must use {@link createGattServer} to create an GattServer instance.\n     *\n     * @typedef GattServer\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface GattServer {\n        /**\n         * Adds a specified service to be hosted.\n         * <p>The added service and its characteristics are provided by the local device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { GattService } service - Indicates the service to add.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Adds a specified service to be hosted.\n         * <p>The added service and its characteristics are provided by the local device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { GattService } service - Indicates the service to add.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Adds a specified service to be hosted.\n         * <p>The added service and its characteristics are provided by the local device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { GattService } service - Indicates the service to add.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        addService(service: GattService): void;\n        /**\n         * Removes a specified service from the list of GATT services provided by this device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } serviceUuid - Indicates the UUID of the service to remove.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900004 - Profile not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Removes a specified service from the list of GATT services provided by this device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } serviceUuid - Indicates the UUID of the service to remove.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900004 - Profile not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Removes a specified service from the list of GATT services provided by this device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } serviceUuid - Indicates the UUID of the service to remove.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900004 - Profile not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        removeService(serviceUuid: string): void;\n        /**\n         * Closes this {@code GattServer} object and unregisters its callbacks.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Closes this {@code GattServer} object and unregisters its callbacks.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Closes this {@code GattServer} object and unregisters its callbacks.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        close(): void;\n        /**\n         * Sends a notification of a change in a specified local characteristic with a asynchronous callback.\n         * <p>This method should be called for every BLE peripheral device that has requested notifications.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n         * @param { NotifyCharacteristic } notifyCharacteristic - Indicates the local characteristic that has changed.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Sends a notification of a change in a specified local characteristic with a asynchronous callback.\n         * <p>This method should be called for every BLE peripheral device that has requested notifications.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n         * @param { NotifyCharacteristic } notifyCharacteristic - Indicates the local characteristic that has changed.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Sends a notification of a change in a specified local characteristic with a asynchronous callback.\n         * <p>This method should be called for every BLE peripheral device that has requested notifications.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n         * @param { NotifyCharacteristic } notifyCharacteristic - Indicates the local characteristic that has changed.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic, callback: AsyncCallback<void>): void;\n        /**\n         * Sends a notification of a change in a specified local characteristic with a asynchronous callback.\n         * <p>This method should be called for every BLE peripheral device that has requested notifications.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n         * @param { NotifyCharacteristic } notifyCharacteristic - Indicates the local characteristic that has changed.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Sends a notification of a change in a specified local characteristic with a asynchronous callback.\n         * <p>This method should be called for every BLE peripheral device that has requested notifications.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n         * @param { NotifyCharacteristic } notifyCharacteristic - Indicates the local characteristic that has changed.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Sends a notification of a change in a specified local characteristic with a asynchronous callback.\n         * <p>This method should be called for every BLE peripheral device that has requested notifications.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { string } deviceId - Indicates device ID. For example, \"11:22:33:AA:BB:FF\".\n         * @param { NotifyCharacteristic } notifyCharacteristic - Indicates the local characteristic that has changed.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        notifyCharacteristicChanged(deviceId: string, notifyCharacteristic: NotifyCharacteristic): Promise<void>;\n        /**\n         * Sends a response to a specified read or write request to a given BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { ServerResponse } serverResponse - Indicates the response parameters {@link ServerResponse}.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Sends a response to a specified read or write request to a given BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { ServerResponse } serverResponse - Indicates the response parameters {@link ServerResponse}.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Sends a response to a specified read or write request to a given BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { ServerResponse } serverResponse - Indicates the response parameters {@link ServerResponse}.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        sendResponse(serverResponse: ServerResponse): void;\n        /**\n         * Subscribe characteristic read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for.\n         * @param { Callback<CharacteristicReadRequest> } callback - Callback used to listen for the characteristic read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe characteristic read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for.\n         * @param { Callback<CharacteristicReadRequest> } callback - Callback used to listen for the characteristic read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Subscribe characteristic read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for.\n         * @param { Callback<CharacteristicReadRequest> } callback - Callback used to listen for the characteristic read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        on(type: 'characteristicRead', callback: Callback<CharacteristicReadRequest>): void;\n        /**\n         * Unsubscribe characteristic read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for.\n         * @param { Callback<CharacteristicReadRequest> } callback - Callback used to listen for the characteristic read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe characteristic read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for.\n         * @param { Callback<CharacteristicReadRequest> } callback - Callback used to listen for the characteristic read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Unsubscribe characteristic read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicRead' } type - Type of the characteristic read event to listen for.\n         * @param { Callback<CharacteristicReadRequest> } callback - Callback used to listen for the characteristic read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        off(type: 'characteristicRead', callback?: Callback<CharacteristicReadRequest>): void;\n        /**\n         * Subscribe characteristic write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for.\n         * @param { Callback<CharacteristicWriteRequest> } callback - Callback used to listen for the characteristic write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe characteristic write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for.\n         * @param { Callback<CharacteristicWriteRequest> } callback - Callback used to listen for the characteristic write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Subscribe characteristic write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for.\n         * @param { Callback<CharacteristicWriteRequest> } callback - Callback used to listen for the characteristic write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        on(type: 'characteristicWrite', callback: Callback<CharacteristicWriteRequest>): void;\n        /**\n         * Unsubscribe characteristic write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for.\n         * @param { Callback<CharacteristicWriteRequest> } callback - Callback used to listen for the characteristic write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe characteristic write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for.\n         * @param { Callback<CharacteristicWriteRequest> } callback - Callback used to listen for the characteristic write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Unsubscribe characteristic write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'characteristicWrite' } type - Type of the characteristic write event to listen for.\n         * @param { Callback<CharacteristicWriteRequest> } callback - Callback used to listen for the characteristic write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        off(type: 'characteristicWrite', callback?: Callback<CharacteristicWriteRequest>): void;\n        /**\n         * Subscribe descriptor read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for.\n         * @param { Callback<DescriptorReadRequest> } callback - Callback used to listen for the descriptor read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe descriptor read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for.\n         * @param { Callback<DescriptorReadRequest> } callback - Callback used to listen for the descriptor read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Subscribe descriptor read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for.\n         * @param { Callback<DescriptorReadRequest> } callback - Callback used to listen for the descriptor read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        on(type: 'descriptorRead', callback: Callback<DescriptorReadRequest>): void;\n        /**\n         * Unsubscribe descriptor read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for.\n         * @param { Callback<DescriptorReadRequest> } callback - Callback used to listen for the descriptor read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe descriptor read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for.\n         * @param { Callback<DescriptorReadRequest> } callback - Callback used to listen for the descriptor read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Unsubscribe descriptor read event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorRead' } type - Type of the descriptor read event to listen for.\n         * @param { Callback<DescriptorReadRequest> } callback - Callback used to listen for the descriptor read event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        off(type: 'descriptorRead', callback?: Callback<DescriptorReadRequest>): void;\n        /**\n         * Subscribe descriptor write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for.\n         * @param { Callback<DescriptorWriteRequest> } callback - Callback used to listen for the descriptor write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe descriptor write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for.\n         * @param { Callback<DescriptorWriteRequest> } callback - Callback used to listen for the descriptor write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Subscribe descriptor write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for.\n         * @param { Callback<DescriptorWriteRequest> } callback - Callback used to listen for the descriptor write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        on(type: 'descriptorWrite', callback: Callback<DescriptorWriteRequest>): void;\n        /**\n         * Unsubscribe descriptor write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for.\n         * @param { Callback<DescriptorWriteRequest> } callback - Callback used to listen for the descriptor write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe descriptor write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for.\n         * @param { Callback<DescriptorWriteRequest> } callback - Callback used to listen for the descriptor write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Unsubscribe descriptor write event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'descriptorWrite' } type - Type of the descriptor write event to listen for.\n         * @param { Callback<DescriptorWriteRequest> } callback - Callback used to listen for the descriptor write event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        off(type: 'descriptorWrite', callback?: Callback<DescriptorWriteRequest>): void;\n        /**\n         * Subscribe server connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'connectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe server connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'connectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Subscribe server connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'connectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        on(type: 'connectionStateChange', callback: Callback<BLEConnectionChangeState>): void;\n        /**\n         * Unsubscribe server connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'connectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe server connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'connectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Unsubscribe server connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'connectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        off(type: 'connectionStateChange', callback?: Callback<BLEConnectionChangeState>): void;\n        /**\n         * Subscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        on(type: 'BLEMtuChange', callback: Callback<number>): void;\n        /**\n         * Unsubscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        off(type: 'BLEMtuChange', callback?: Callback<number>): void;\n    }\n    /**\n     * Manages GATT client. Before calling an Gatt client method, you must use {@link createGattClientDevice} to create an GattClientDevice instance.\n     *\n     * @typedef GattClientDevice\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Manages GATT client. Before calling an Gatt client method, you must use {@link createGattClientDevice} to create an GattClientDevice instance.\n     *\n     * @typedef GattClientDevice\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Manages GATT client. Before calling an Gatt client method, you must use {@link createGattClientDevice} to create an GattClientDevice instance.\n     *\n     * @typedef GattClientDevice\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface GattClientDevice {\n        /**\n         * Connects to a BLE peripheral device.\n         * <p>The 'BLEConnectionStateChange' event is subscribed to return the connection state.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Connects to a BLE peripheral device.\n         * <p>The 'BLEConnectionStateChange' event is subscribed to return the connection state.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Connects to a BLE peripheral device.\n         * <p>The 'BLEConnectionStateChange' event is subscribed to return the connection state.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        connect(): void;\n        /**\n         * Disconnects from or stops an ongoing connection to a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Disconnects from or stops an ongoing connection to a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Disconnects from or stops an ongoing connection to a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        disconnect(): void;\n        /**\n         * Disables a BLE peripheral device.\n         * <p> This method unregisters the device and clears the registered callbacks and handles.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Disables a BLE peripheral device.\n         * <p> This method unregisters the device and clears the registered callbacks and handles.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Disables a BLE peripheral device.\n         * <p> This method unregisters the device and clears the registered callbacks and handles.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        close(): void;\n        /**\n         * Obtains the name of BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<string> } callback - Callback used to obtain the device name.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Obtains the name of BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<string> } callback - Callback used to obtain the device name.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Obtains the name of BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<string> } callback - Callback used to obtain the device name.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        getDeviceName(callback: AsyncCallback<string>): void;\n        /**\n         * Obtains the name of BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<string> } Returns a string representation of the name if obtained;\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter.Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Obtains the name of BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<string> } Returns a string representation of the name if obtained;\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter.Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Obtains the name of BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<string> } Returns a string representation of the name if obtained;\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter.Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        getDeviceName(): Promise<string>;\n        /**\n         * Starts discovering services.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<Array<GattService>> } callback - Callback used to catch the services.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Starts discovering services.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<Array<GattService>> } callback - Callback used to catch the services.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Starts discovering services.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<Array<GattService>> } callback - Callback used to catch the services.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        getServices(callback: AsyncCallback<Array<GattService>>): void;\n        /**\n         * Starts discovering services.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<Array<GattService>> } Returns the list of services {@link GattService} of the BLE peripheral device.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Starts discovering services.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<Array<GattService>> } Returns the list of services {@link GattService} of the BLE peripheral device.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Starts discovering services.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<Array<GattService>> } Returns the list of services {@link GattService} of the BLE peripheral device.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        getServices(): Promise<Array<GattService>>;\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @param { AsyncCallback<BLECharacteristic> } callback - Callback invoked to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @param { AsyncCallback<BLECharacteristic> } callback - Callback invoked to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @param { AsyncCallback<BLECharacteristic> } callback - Callback invoked to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @param { AsyncCallback<BLECharacteristic> } callback - Callback invoked to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        readCharacteristicValue(characteristic: BLECharacteristic, callback: AsyncCallback<BLECharacteristic>): void;\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @returns { Promise<BLECharacteristic> } - Promise used to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @returns { Promise<BLECharacteristic> } - Promise used to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @returns { Promise<BLECharacteristic> } - Promise used to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Reads the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to read.\n         * @returns { Promise<BLECharacteristic> } - Promise used to return the characteristic value read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        readCharacteristicValue(characteristic: BLECharacteristic): Promise<BLECharacteristic>;\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @param { AsyncCallback<BLEDescriptor> } callback - Callback invoked to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @param { AsyncCallback<BLEDescriptor> } callback - Callback invoked to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @param { AsyncCallback<BLEDescriptor> } callback - Callback invoked to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @param { AsyncCallback<BLEDescriptor> } callback - Callback invoked to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        readDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<BLEDescriptor>): void;\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @returns { Promise<BLEDescriptor> } - Promise used to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @returns { Promise<BLEDescriptor> } - Promise used to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @returns { Promise<BLEDescriptor> } - Promise used to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Reads the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to read.\n         * @returns { Promise<BLEDescriptor> } - Promise used to return the descriptor read.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901000 - Read forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        readDescriptorValue(descriptor: BLEDescriptor): Promise<BLEDescriptor>;\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType, callback: AsyncCallback<void>): void;\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Writes the characteristic of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to write.\n         * @param { GattWriteType } writeType - Write type of the characteristic.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        writeCharacteristicValue(characteristic: BLECharacteristic, writeType: GattWriteType): Promise<void>;\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @param { AsyncCallback<void> } callback - Callback used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        writeDescriptorValue(descriptor: BLEDescriptor, callback: AsyncCallback<void>): void;\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        /**\n         * Writes the descriptor of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLEDescriptor } descriptor - Indicates the descriptor to write.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901001 - Write forbidden.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @throws { BusinessError } 2901004 - The connection is congested.\n         * @throws { BusinessError } 2901005 - The connection is not encrypted.\n         * @throws { BusinessError } 2901006 - The connection is not authenticated.\n         * @throws { BusinessError } 2901007 - The connection is not authorized.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        writeDescriptorValue(descriptor: BLEDescriptor): Promise<void>;\n        /**\n         * Get the RSSI value of this BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<number> } callback - Callback invoked to return the RSSI, in dBm.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Get the RSSI value of this BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<number> } callback - Callback invoked to return the RSSI, in dBm.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Get the RSSI value of this BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { AsyncCallback<number> } callback - Callback invoked to return the RSSI, in dBm.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        getRssiValue(callback: AsyncCallback<number>): void;\n        /**\n         * Get the RSSI value of this BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<number> } Returns the RSSI value.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Get the RSSI value of this BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<number> } Returns the RSSI value.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Get the RSSI value of this BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<number> } Returns the RSSI value.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        getRssiValue(): Promise<number>;\n        /**\n         * Set the mtu size of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { number } mtu - The maximum transmission unit.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Set the mtu size of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { number } mtu - The maximum transmission unit.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Set the mtu size of a BLE peripheral device.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { number } mtu - The maximum transmission unit.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        setBLEMtuSize(mtu: number): void;\n        /**\n         * Enables or disables notification of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that notification is enabled, and the value {@code false} indicates that indication is disabled.\n         * @param { AsyncCallback<void> } callback - the callback of setCharacteristicChangeNotification.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Enables or disables notification of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that notification is enabled, and the value {@code false} indicates that indication is disabled.\n         * @param { AsyncCallback<void> } callback - the callback of setCharacteristicChangeNotification.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Enables or disables notification of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that notification is enabled, and the value {@code false} indicates that indication is disabled.\n         * @param { AsyncCallback<void> } callback - the callback of setCharacteristicChangeNotification.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean, callback: AsyncCallback<void>): void;\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @returns { Promise<void> } Returns the promise object.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @returns { Promise<void> } Returns the promise object.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @returns { Promise<void> } Returns the promise object.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        setCharacteristicChangeNotification(characteristic: BLECharacteristic, enable: boolean): Promise<void>;\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @param { AsyncCallback<void> } callback - the callback of setCharacteristicChangeIndication.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @param { AsyncCallback<void> } callback - the callback of setCharacteristicChangeIndication.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @param { AsyncCallback<void> } callback - the callback of setCharacteristicChangeIndication.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean, callback: AsyncCallback<void>): void;\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @returns { Promise<void> } Returns the promise object.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @returns { Promise<void> } Returns the promise object.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Enables or disables indication of a characteristic when value changed.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { BLECharacteristic } characteristic - Indicates the characteristic to indicate.\n         * @param { boolean } enable - Specifies whether to enable indication of the characteristic. The value {@code true} indicates\n         * that indication is enabled, and the value {@code false} indicates that indication is disabled.\n         * @returns { Promise<void> } Returns the promise object.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900011 - The operation is busy. The last operation is not complete.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2901003 - The connection is not established.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        setCharacteristicChangeIndication(characteristic: BLECharacteristic, enable: boolean): Promise<void>;\n        /**\n         * Subscribe characteristic value changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLECharacteristicChange' } type - Type of the characteristic value changed event to listen for.\n         * @param { Callback<BLECharacteristic> } callback - Callback used to listen for the characteristic value changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe characteristic value changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLECharacteristicChange' } type - Type of the characteristic value changed event to listen for.\n         * @param { Callback<BLECharacteristic> } callback - Callback used to listen for the characteristic value changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        on(type: 'BLECharacteristicChange', callback: Callback<BLECharacteristic>): void;\n        /**\n         * Unsubscribe characteristic value changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLECharacteristicChange' } type - Type of the characteristic value changed event to listen for.\n         * @param { Callback<BLECharacteristic> } callback - Callback used to listen for the characteristic value changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe characteristic value changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLECharacteristicChange' } type - Type of the characteristic value changed event to listen for.\n         * @param { Callback<BLECharacteristic> } callback - Callback used to listen for the characteristic value changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        off(type: 'BLECharacteristicChange', callback?: Callback<BLECharacteristic>): void;\n        /**\n         * Subscribe client connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe client connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Subscribe client connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        on(type: 'BLEConnectionStateChange', callback: Callback<BLEConnectionChangeState>): void;\n        /**\n         * Unsubscribe client connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe client connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Unsubscribe client connection state changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEConnectionStateChange' } type - Type of the connection state changed event to listen for.\n         * @param { Callback<BLEConnectionChangeState> } callback - Callback used to listen for the connection state changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        off(type: 'BLEConnectionStateChange', callback?: Callback<BLEConnectionChangeState>): void;\n        /**\n         * Subscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Subscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Subscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        on(type: 'BLEMtuChange', callback: Callback<number>): void;\n        /**\n         * Unsubscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Unsubscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Unsubscribe mtu changed event.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEMtuChange' } type - Type of the mtu changed event to listen for.\n         * @param { Callback<number> } callback - Callback used to listen for the mtu changed event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        off(type: 'BLEMtuChange', callback?: Callback<number>): void;\n    }\n    /**\n     * Manages the ble scanner.\n     * Before calling a ble scanner method, you must use {@link createBleScanner} to create an BleScanner instance.\n     *\n     * @typedef BleScanner\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    interface BleScanner {\n        /**\n         * Starts scanning for specified BLE devices with filters.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { Array<ScanFilter> } filters - Indicates the list of filters used to filter out specified devices.\n         * If you do not want to use filter, set this parameter to {@code null}.\n         * @param { ScanOptions } options - Indicates the parameters for scanning and if the user does not assign a value,\n         * the default value will be used. {@link ScanOptions#interval} set to 0,\n         * and {@link ScanOptions#dutyMode} set to {@link SCAN_MODE_LOW_POWER}\n         * and {@link ScanOptions#matchMode} set to {@link MATCH_MODE_AGGRESSIVE}.\n         * and {@link ScanOptions#phyType} set to {@link PHY_LE_ALL_SUPPORTED}.\n         * and {@link ScanOptions#reportMode} set to {@link ScanReportMode#NORMAL}.\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900009 - Fails to start scan as it is out of hardware resources.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @throws { BusinessError } 2902050 - Failed to start scan as Ble scan is already started by the app.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        startScan(filters: Array<ScanFilter>, options?: ScanOptions): Promise<void>;\n        /**\n         * Stops BLE scanning.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @returns { Promise<void> } Promise used to return the result.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900001 - Service stopped.\n         * @throws { BusinessError } 2900003 - Bluetooth disabled.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        stopScan(): Promise<void>;\n        /**\n         * Subscribe BLE scan result.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n         * @param { Callback<ScanReport> } callback - Callback used to listen for the scan result event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        on(type: 'BLEDeviceFind', callback: Callback<ScanReport>): void;\n        /**\n         * Unsubscribe BLE scan result.\n         *\n         * @permission ohos.permission.ACCESS_BLUETOOTH\n         * @param { 'BLEDeviceFind' } type - Type of the scan result event to listen for.\n         * @param { Callback<ScanReport> } callback - Callback used to listen for the scan result event.\n         * @throws { BusinessError } 201 - Permission denied.\n         * @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.\n         * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n         * @throws { BusinessError } 801 - Capability not supported.\n         * @throws { BusinessError } 2900099 - Operation failed.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        off(type: 'BLEDeviceFind', callback?: Callback<ScanReport>): void;\n    }\n    /**\n     * Describes the Gatt service.\n     *\n     * @typedef GattService\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the Gatt service.\n     *\n     * @typedef GattService\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the Gatt service.\n     *\n     * @typedef GattService\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface GattService {\n        /**\n         * The UUID of a GattService instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of a GattService instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of a GattService instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n        /**\n         * Indicates whether the GattService instance is primary or secondary.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates whether the GattService instance is primary or secondary.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates whether the GattService instance is primary or secondary.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        isPrimary: boolean;\n        /**\n         * The {@link BLECharacteristic} list belongs to this GattService instance\n         *\n         * @type { Array<BLECharacteristic> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The {@link BLECharacteristic} list belongs to this GattService instance\n         *\n         * @type { Array<BLECharacteristic> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The {@link BLECharacteristic} list belongs to this GattService instance\n         *\n         * @type { Array<BLECharacteristic> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristics: Array<BLECharacteristic>;\n        /**\n         * The list of GATT services contained in the service\n         *\n         * @type { ?Array<GattService> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The list of GATT services contained in the service\n         *\n         * @type { ?Array<GattService> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        includeServices?: Array<GattService>;\n    }\n    /**\n     * Describes the Gatt characteristic.\n     *\n     * @typedef BLECharacteristic\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the Gatt characteristic.\n     *\n     * @typedef BLECharacteristic\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the Gatt characteristic.\n     *\n     * @typedef BLECharacteristic\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface BLECharacteristic {\n        /**\n         * The UUID of the {@link GattService} instance to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the {@link GattService} instance to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the {@link GattService} instance to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n        /**\n         * The UUID of a BLECharacteristic instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of a BLECharacteristic instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of a BLECharacteristic instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicUuid: string;\n        /**\n         * The value of a BLECharacteristic instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The value of a BLECharacteristic instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The value of a BLECharacteristic instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicValue: ArrayBuffer;\n        /**\n         * The list of {@link BLEDescriptor} contained in the characteristic\n         *\n         * @type { Array<BLEDescriptor> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The list of {@link BLEDescriptor} contained in the characteristic\n         *\n         * @type { Array<BLEDescriptor> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The list of {@link BLEDescriptor} contained in the characteristic\n         *\n         * @type { Array<BLEDescriptor> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        descriptors: Array<BLEDescriptor>;\n        /**\n         * The properties of a BLECharacteristic instance\n         *\n         * @type { ?GattProperties }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The properties of a BLECharacteristic instance\n         *\n         * @type { ?GattProperties }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The properties of a BLECharacteristic instance\n         *\n         * @type { ?GattProperties }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        properties?: GattProperties;\n        /**\n         * The characteristic value handle of a BLECharacteristic instance\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 18\n         */\n        characteristicValueHandle?: number;\n        /**\n         * The permissions of a BLECharacteristic instance. The default value is Readable and Writable.\n         *\n         * @type { ?GattPermissions }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        permissions?: GattPermissions;\n    }\n    /**\n     * Describes the Gatt descriptor.\n     *\n     * @typedef BLEDescriptor\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the Gatt descriptor.\n     *\n     * @typedef BLEDescriptor\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the Gatt descriptor.\n     *\n     * @typedef BLEDescriptor\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface BLEDescriptor {\n        /**\n         * The UUID of the {@link GattService} instance to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the {@link GattService} instance to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the {@link GattService} instance to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n        /**\n         * The UUID of the {@link BLECharacteristic} instance to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the {@link BLECharacteristic} instance to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the {@link BLECharacteristic} instance to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicUuid: string;\n        /**\n         * The UUID of the BLEDescriptor instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the BLEDescriptor instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the BLEDescriptor instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        descriptorUuid: string;\n        /**\n         * The value of the BLEDescriptor instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The value of the BLEDescriptor instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The value of the BLEDescriptor instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        descriptorValue: ArrayBuffer;\n        /**\n         * The descriptor handle of the BLEDescriptor instance\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 18\n         */\n        descriptorHandle?: number;\n        /**\n         * The permissions of a BLEDescriptor instance. The default value is Readable and Writable.\n         *\n         * @type { ?GattPermissions }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 20\n         */\n        permissions?: GattPermissions;\n    }\n    /**\n     * Describes the value of the indication or notification sent by the Gatt server.\n     *\n     * @typedef NotifyCharacteristic\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the value of the indication or notification sent by the Gatt server.\n     *\n     * @typedef NotifyCharacteristic\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the value of the indication or notification sent by the Gatt server.\n     *\n     * @typedef NotifyCharacteristic\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface NotifyCharacteristic {\n        /**\n         * The UUID of the {@link GattService} instance to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the {@link GattService} instance to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the {@link GattService} instance to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n        /**\n         * The UUID of a NotifyCharacteristic instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of a NotifyCharacteristic instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of a NotifyCharacteristic instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicUuid: string;\n        /**\n         * The value of a NotifyCharacteristic instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The value of a NotifyCharacteristic instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The value of a NotifyCharacteristic instance\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicValue: ArrayBuffer;\n        /**\n         * Specifies whether to request confirmation from the BLE peripheral device (indication) or\n         * send a notification. Value {@code true} indicates the former and {@code false} indicates the latter.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Specifies whether to request confirmation from the BLE peripheral device (indication) or\n         * send a notification. Value {@code true} indicates the former and {@code false} indicates the latter.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        confirm: boolean;\n    }\n    /**\n     * Describes the parameters of the Gatt client's characteristic read request.\n     *\n     * @typedef CharacteristicReadRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the parameters of the Gatt client's characteristic read request.\n     *\n     * @typedef CharacteristicReadRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the parameters of the Gatt client's characteristic read request.\n     *\n     * @typedef CharacteristicReadRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface CharacteristicReadRequest {\n        /**\n         * Indicates the address of the client that initiates the read request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the address of the client that initiates the read request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the address of the client that initiates the read request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId: string;\n        /**\n         * The Id of the read request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The Id of the read request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The Id of the read request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        transId: number;\n        /**\n         * Indicates the byte offset of the start position for reading characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the byte offset of the start position for reading characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        offset: number;\n        /**\n         * The UUID of a CharacteristicReadRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of a CharacteristicReadRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of a CharacteristicReadRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicUuid: string;\n        /**\n         * The UUID of the service to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the service to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the service to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n    }\n    /**\n     * Describes the parameters of the of the Gatt client's characteristic write request.\n     *\n     * @typedef CharacteristicWriteRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the parameters of the of the Gatt client's characteristic write request.\n     *\n     * @typedef CharacteristicWriteRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the parameters of the of the Gatt client's characteristic write request.\n     *\n     * @typedef CharacteristicWriteRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface CharacteristicWriteRequest {\n        /**\n         * Indicates the address of the client that initiates the write request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the address of the client that initiates the write request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the address of the client that initiates the write request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId: string;\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        transId: number;\n        /**\n         * Indicates the byte offset of the start position for writing characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the byte offset of the start position for writing characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        offset: number;\n        /**\n         * Whether this request should be pending for later operation\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Whether this request should be pending for later operation\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        isPrepared: boolean;\n        /**\n         * Whether the remote client need a response\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Whether the remote client need a response\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        needRsp: boolean;\n        /**\n         * Indicates the value to be written\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the value to be written\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the value to be written\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        value: ArrayBuffer;\n        /**\n         * The UUID of a CharacteristicWriteRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of a CharacteristicWriteRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of a CharacteristicWriteRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicUuid: string;\n        /**\n         * The UUID of the service to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the service to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the service to which the characteristic belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n    }\n    /**\n     * Describes the parameters of the Gatt client's descriptor read request.\n     *\n     * @typedef DescriptorReadRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the parameters of the Gatt client's descriptor read request.\n     *\n     * @typedef DescriptorReadRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the parameters of the Gatt client's descriptor read request.\n     *\n     * @typedef DescriptorReadRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface DescriptorReadRequest {\n        /**\n         * Indicates the address of the client that initiates the read request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the address of the client that initiates the read request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the address of the client that initiates the read request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId: string;\n        /**\n         * The Id of the read request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The Id of the read request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The Id of the read request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        transId: number;\n        /**\n         * Indicates the byte offset of the start position for reading characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the byte offset of the start position for reading characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        offset: number;\n        /**\n         * The UUID of a DescriptorReadRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of a DescriptorReadRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of a DescriptorReadRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        descriptorUuid: string;\n        /**\n         * The UUID of the characteristic to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the characteristic to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the characteristic to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicUuid: string;\n        /**\n         * The UUID of the service to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the service to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the service to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n    }\n    /**\n     * Describes the parameters of the Gatt client's characteristic write request.\n     *\n     * @typedef DescriptorWriteRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the parameters of the Gatt client's characteristic write request.\n     *\n     * @typedef DescriptorWriteRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the parameters of the Gatt client's characteristic write request.\n     *\n     * @typedef DescriptorWriteRequest\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface DescriptorWriteRequest {\n        /**\n         * Indicates the address of the client that initiates the write request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the address of the client that initiates the write request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the address of the client that initiates the write request\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId: string;\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        transId: number;\n        /**\n         * Indicates the byte offset of the start position for writing characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the byte offset of the start position for writing characteristic value\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        offset: number;\n        /**\n         * Whether this request should be pending for later operation\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Whether this request should be pending for later operation\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        isPrepared: boolean;\n        /**\n         * Whether the remote client need a response\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Whether the remote client need a response\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        needRsp: boolean;\n        /**\n         * Indicates the value to be written\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the value to be written\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the value to be written\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        value: ArrayBuffer;\n        /**\n         * The UUID of a DescriptorWriteRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of a DescriptorWriteRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of a DescriptorWriteRequest instance\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        descriptorUuid: string;\n        /**\n         * The UUID of the characteristic to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the characteristic to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the characteristic to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        characteristicUuid: string;\n        /**\n         * The UUID of the service to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The UUID of the service to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The UUID of the service to which the descriptor belongs\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n    }\n    /**\n     * Describes the parameters of a response send by the server to a specified read or write request.\n     *\n     * @typedef ServerResponse\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the parameters of a response send by the server to a specified read or write request.\n     *\n     * @typedef ServerResponse\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the parameters of a response send by the server to a specified read or write request.\n     *\n     * @typedef ServerResponse\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface ServerResponse {\n        /**\n         * Indicates the address of the client to which to send the response\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the address of the client to which to send the response\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the address of the client to which to send the response\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId: string;\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The Id of the write request\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        transId: number;\n        /**\n         * Indicates the status of the read or write request, set this parameter to '0' in normal cases\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the status of the read or write request, set this parameter to '0' in normal cases\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the status of the read or write request, set this parameter to '0' in normal cases\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        status: number;\n        /**\n         * Indicates the byte offset of the start position for reading or writing operation\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the byte offset of the start position for reading or writing operation\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        offset: number;\n        /**\n         * Indicates the value to be sent\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the value to be sent\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the value to be sent\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        value: ArrayBuffer;\n    }\n    /**\n     * Describes the Gatt profile connection state.\n     *\n     * @typedef BLEConnectionChangeState\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the Gatt profile connection state.\n     *\n     * @typedef BLEConnectionChangeState\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the Gatt profile connection state.\n     *\n     * @typedef BLEConnectionChangeState\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface BLEConnectionChangeState {\n        /**\n         * Indicates the peer device address\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the peer device address\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the peer device address\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId: string;\n        /**\n         * Connection state of the Gatt profile\n         *\n         * @type { ProfileConnectionState }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Connection state of the Gatt profile\n         *\n         * @type { ProfileConnectionState }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Connection state of the Gatt profile\n         *\n         * @type { ProfileConnectionState }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        state: ProfileConnectionState;\n    }\n    /**\n     * Describes the contents of the scan results.\n     *\n     * @typedef ScanResult\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the contents of the scan results.\n     *\n     * @typedef ScanResult\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the contents of the scan results.\n     *\n     * @typedef ScanResult\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface ScanResult {\n        /**\n         * Address of the scanned device\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Address of the scanned device\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Address of the scanned device\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId: string;\n        /**\n         * RSSI of the remote device\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * RSSI of the remote device\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * RSSI of the remote device\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        rssi: number;\n        /**\n         * The raw data of broadcast packet\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The raw data of broadcast packet\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The raw data of broadcast packet\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        data: ArrayBuffer;\n        /**\n         * The local name of the BLE device\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The local name of the BLE device\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The local name of the BLE device\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceName: string;\n        /**\n         * Connectable of the remote device\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Connectable of the remote device\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Connectable of the remote device\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        connectable: boolean;\n    }\n    /**\n     * Describes the contents of the scan report.\n     *\n     * @typedef ScanReport\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    interface ScanReport {\n        /**\n         * The type of scan report\n         *\n         * @type { ScanReportType }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        reportType: ScanReportType;\n        /**\n         * Describes the contents of the scan results.\n         *\n         * @type { Array<ScanResult> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        scanResult: Array<ScanResult>;\n    }\n    /**\n     * Describes the settings for BLE advertising.\n     *\n     * @typedef AdvertiseSetting\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the settings for BLE advertising.\n     *\n     * @typedef AdvertiseSetting\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the settings for BLE advertising.\n     *\n     * @typedef AdvertiseSetting\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface AdvertiseSetting {\n        /**\n         * Minimum slot value for the advertising interval, which is {@code 32} (20 ms)\n         * Maximum slot value for the advertising interval, which is {@code 16777215} (10485.759375s)\n         * Default slot value for the advertising interval, which is {@code 1600} (1s)\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Minimum slot value for the advertising interval, which is {@code 32} (20 ms)\n         * Maximum slot value for the advertising interval, which is {@code 16777215} (10485.759375s)\n         * Default slot value for the advertising interval, which is {@code 1600} (1s)\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        interval?: number;\n        /**\n         * Minimum transmission power level for advertising, which is {@code -127}\n         * Maximum transmission power level for advertising, which is {@code 1}\n         * Default transmission power level for advertising, which is {@code -7}\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Minimum transmission power level for advertising, which is {@code -127}\n         * Maximum transmission power level for advertising, which is {@code 1}\n         * Default transmission power level for advertising, which is {@code -7}\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        txPower?: number;\n        /**\n         * Indicates whether the BLE is connectable, default is {@code true}\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates whether the BLE is connectable, default is {@code true}\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates whether the BLE is connectable, default is {@code true}\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        connectable?: boolean;\n    }\n    /**\n     * Describes the advertising data.\n     *\n     * @typedef AdvertiseData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the advertising data.\n     *\n     * @typedef AdvertiseData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the advertising data.\n     *\n     * @typedef AdvertiseData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface AdvertiseData {\n        /**\n         * The specified service UUID list to this advertisement\n         *\n         * @type { Array<string> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The specified service UUID list to this advertisement\n         *\n         * @type { Array<string> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The specified service UUID list to this advertisement\n         *\n         * @type { Array<string> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuids: Array<string>;\n        /**\n         * The specified manufacturer data list to this advertisement\n         *\n         * @type { Array<ManufactureData> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The specified manufacturer data list to this advertisement\n         *\n         * @type { Array<ManufactureData> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The specified manufacturer data list to this advertisement\n         *\n         * @type { Array<ManufactureData> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        manufactureData: Array<ManufactureData>;\n        /**\n         * The specified service data list to this advertisement\n         *\n         * @type { Array<ServiceData> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The specified service data list to this advertisement\n         *\n         * @type { Array<ServiceData> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The specified service data list to this advertisement\n         *\n         * @type { Array<ServiceData> }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceData: Array<ServiceData>;\n        /**\n         * Indicates whether the device name will be included in the advertisement packet.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates whether the device name will be included in the advertisement packet.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates whether the device name will be included in the advertisement packet.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        includeDeviceName?: boolean;\n        /**\n         * Indicates whether the tx power will be included in the advertisement packet.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 18\n         */\n        includeTxPower?: boolean;\n    }\n    /**\n     * Describes the advertising parameters.\n     *\n     * @typedef AdvertisingParams\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Describes the advertising parameters.\n     *\n     * @typedef AdvertisingParams\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    interface AdvertisingParams {\n        /**\n         * Indicates the advertising settings.\n         *\n         * @type { AdvertiseSetting }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        /**\n         * Indicates the advertising settings.\n         *\n         * @type { AdvertiseSetting }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        advertisingSettings: AdvertiseSetting;\n        /**\n         * Indicates the advertising data.\n         *\n         * @type { AdvertiseData }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        /**\n         * Indicates the advertising data.\n         *\n         * @type { AdvertiseData }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        advertisingData: AdvertiseData;\n        /**\n         * Indicates the advertising response.\n         *\n         * @type { ?AdvertiseData }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        /**\n         * Indicates the advertising response.\n         *\n         * @type { ?AdvertiseData }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        advertisingResponse?: AdvertiseData;\n        /**\n         * Indicates the duration for advertising continuously.\n         * The duration, in 10ms unit. Valid range is from 1 (10ms) to 65535 (655,350 ms).\n         * If this parameter is not specified or is set to 0, advertisement is continuously sent.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        duration?: number;\n    }\n    /**\n     * Parameter for dynamically enable advertising.\n     *\n     * @typedef AdvertisingEnableParams\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    interface AdvertisingEnableParams {\n        /**\n         * Indicates the ID of current advertising.\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        advertisingId: number;\n        /**\n         * Indicates the duration for advertising continuously.\n         * The duration, in 10ms unit. Valid range is from 1 (10ms) to 65535 (655,350 ms).\n         * If this parameter is not specified or is set to 0, advertise is continuously sent.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        duration?: number;\n    }\n    /**\n     * Parameter for dynamically disable advertising.\n     *\n     * @typedef AdvertisingDisableParams\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    interface AdvertisingDisableParams {\n        /**\n         * Indicates the ID of current advertising.\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        advertisingId: number;\n    }\n    /**\n     * Advertising state change information.\n     *\n     * @typedef AdvertisingStateChangeInfo\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * Advertising state change information.\n     *\n     * @typedef AdvertisingStateChangeInfo\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    interface AdvertisingStateChangeInfo {\n        /**\n         * Indicates the ID of current advertising.\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        /**\n         * Indicates the ID of current advertising.\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        advertisingId: number;\n        /**\n         * Indicates the advertising state.\n         *\n         * @type { AdvertisingState }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        /**\n         * Indicates the advertising state.\n         *\n         * @type { AdvertisingState }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        state: AdvertisingState;\n    }\n    /**\n     * Describes the manufacturer data.\n     *\n     * @typedef ManufactureData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the manufacturer data.\n     *\n     * @typedef ManufactureData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the manufacturer data.\n     *\n     * @typedef ManufactureData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface ManufactureData {\n        /**\n         * Indicates the manufacturer ID assigned by Bluetooth SIG\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the manufacturer ID assigned by Bluetooth SIG\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the manufacturer ID assigned by Bluetooth SIG\n         *\n         * @type { number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        manufactureId: number;\n        /**\n         * Indicates the manufacturer data to add\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the manufacturer data to add\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the manufacturer data to add\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        manufactureValue: ArrayBuffer;\n    }\n    /**\n     * Describes the service data.\n     *\n     * @typedef ServiceData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the service data.\n     *\n     * @typedef ServiceData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the service data.\n     *\n     * @typedef ServiceData\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface ServiceData {\n        /**\n         * Indicates the UUID of the service data to add\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the UUID of the service data to add\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the UUID of the service data to add\n         *\n         * @type { string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid: string;\n        /**\n         * Indicates the service data to add\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Indicates the service data to add\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Indicates the service data to add\n         *\n         * @type { ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceValue: ArrayBuffer;\n    }\n    /**\n     * Describes the criteria for filtering scanning results can be set.\n     *\n     * @typedef ScanFilter\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the criteria for filtering scanning results can be set.\n     *\n     * @typedef ScanFilter\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the criteria for filtering scanning results can be set.\n     *\n     * @typedef ScanFilter\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface ScanFilter {\n        /**\n         * The address of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The address of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The address of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        deviceId?: string;\n        /**\n         * The name of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The name of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The name of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        name?: string;\n        /**\n         * The service UUID of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * The service UUID of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * The service UUID of a BLE peripheral device\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuid?: string;\n        /**\n         * Service UUID mask.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Service UUID mask.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Service UUID mask.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceUuidMask?: string;\n        /**\n         * Service solicitation UUID.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Service solicitation UUID.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Service solicitation UUID.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceSolicitationUuid?: string;\n        /**\n         * Service solicitation UUID mask.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Service solicitation UUID mask.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Service solicitation UUID mask.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceSolicitationUuidMask?: string;\n        /**\n         * Service data.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Service data.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Service data.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceData?: ArrayBuffer;\n        /**\n         * Service data mask.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Service data mask.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Service data mask.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        serviceDataMask?: ArrayBuffer;\n        /**\n         * Manufacture id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Manufacture id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Manufacture id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        manufactureId?: number;\n        /**\n         * Manufacture data.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Manufacture data.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Manufacture data.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        manufactureData?: ArrayBuffer;\n        /**\n         * Manufacture data mask.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Manufacture data mask.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Manufacture data mask.\n         *\n         * @type { ?ArrayBuffer }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        manufactureDataMask?: ArrayBuffer;\n    }\n    /**\n     * Describes the parameters for scan.\n     *\n     * @typedef ScanOptions\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the parameters for scan.\n     *\n     * @typedef ScanOptions\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the parameters for scan.\n     *\n     * @typedef ScanOptions\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface ScanOptions {\n        /**\n         * Time of delay for reporting the scan result\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Time of delay for reporting the scan result\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Time of delay for reporting the scan result\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        interval?: number;\n        /**\n         * Bluetooth LE scan mode\n         *\n         * @type { ?ScanDuty }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Bluetooth LE scan mode\n         *\n         * @type { ?ScanDuty }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Bluetooth LE scan mode\n         *\n         * @type { ?ScanDuty }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        dutyMode?: ScanDuty;\n        /**\n         * Match mode for Bluetooth LE scan filters hardware match\n         *\n         * @type { ?MatchMode }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Match mode for Bluetooth LE scan filters hardware match\n         *\n         * @type { ?MatchMode }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        matchMode?: MatchMode;\n        /**\n         * Physical Layer used during scan.\n         *\n         * @type { ?PhyType }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Physical Layer used during scan.\n         *\n         * @type { ?PhyType }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        phyType?: PhyType;\n        /**\n         * Report mode used during scan.\n         *\n         * @type { ?ScanReportMode }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        reportMode?: ScanReportMode;\n    }\n    /**\n     * Describes the properties of a gatt characteristic.\n     *\n     * @typedef GattProperties\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * Describes the properties of a gatt characteristic.\n     *\n     * @typedef GattProperties\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Describes the properties of a gatt characteristic.\n     *\n     * @typedef GattProperties\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    interface GattProperties {\n        /**\n         * Support write property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Support write property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Support write property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        write?: boolean;\n        /**\n         * Support write no response property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Support write no response property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Support write no response property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        writeNoResponse?: boolean;\n        /**\n         * Support read property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Support read property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Support read property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        read?: boolean;\n        /**\n         * Support notify property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Support notify property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Support notify property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        notify?: boolean;\n        /**\n         * Support indicate property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Support indicate property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        indicate?: boolean;\n        /**\n         * Support broadcast property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        broadcast?: boolean;\n        /**\n         * Support authenticated signed write property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        authenticatedSignedWrite?: boolean;\n        /**\n         * Support extended properties property of the characteristic.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        extendedProperties?: boolean;\n    }\n    /**\n     * The enum of gatt characteristic write type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * The enum of gatt characteristic write type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * The enum of gatt characteristic write type\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    enum GattWriteType {\n        /**\n         * Write characteristic with response.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Write characteristic with response.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Write characteristic with response.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        WRITE = 1,\n        /**\n         * Write characteristic without response.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Write characteristic without response.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Write characteristic without response.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        WRITE_NO_RESPONSE = 2\n    }\n    /**\n     * The enum of scan duty.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * The enum of scan duty.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * The enum of scan duty.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    enum ScanDuty {\n        /**\n         * low power mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * low power mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * low power mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        SCAN_MODE_LOW_POWER = 0,\n        /**\n         * balanced power mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * balanced power mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * balanced power mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        SCAN_MODE_BALANCED = 1,\n        /**\n         * Scan using highest duty cycle\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * Scan using highest duty cycle\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Scan using highest duty cycle\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        SCAN_MODE_LOW_LATENCY = 2\n    }\n    /**\n     * The enum of BLE match mode.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 10\n     */\n    /**\n     * The enum of BLE match mode.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    enum MatchMode {\n        /**\n         * aggressive mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * aggressive mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        MATCH_MODE_AGGRESSIVE = 1,\n        /**\n         * sticky mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 10\n         */\n        /**\n         * sticky mode\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        MATCH_MODE_STICKY = 2\n    }\n    /**\n     * The enum of BLE advertising state.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @since 11\n     */\n    /**\n     * The enum of BLE advertising state.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @since 13\n     */\n    enum AdvertisingState {\n        /**\n         * advertising started.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        /**\n         * advertising started.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        STARTED = 1,\n        /**\n         * advertising temporarily enabled.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        ENABLED = 2,\n        /**\n         * advertising temporarily disabled.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        DISABLED = 3,\n        /**\n         * advertising stopped.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @since 11\n         */\n        /**\n         * advertising stopped.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @since 13\n         */\n        STOPPED = 4\n    }\n    /**\n     * Phy type used during scan.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @atomicservice\n     * @since 12\n     */\n    /**\n     * Phy type used during scan.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 13\n     */\n    enum PhyType {\n        /**\n         * Use 1M phy for scanning.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Use 1M phy for scanning.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        PHY_LE_1M = 1,\n        /**\n         * Use all supported Phys for scanning.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 12\n         */\n        /**\n         * Use all supported Phys for scanning.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 13\n         */\n        PHY_LE_ALL_SUPPORTED = 255\n    }\n    /**\n     * Report mode used during scan.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    enum ScanReportMode {\n        /**\n         * In normal mode, the advertisement packet is reported immediately after being scanned.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        NORMAL = 1,\n        /**\n         * Enables the batch mode in which advertisement packets are sent after the interval specified by {@link\n         * ScanOptions#interval}.\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 19\n         */\n        BATCH = 2,\n        /**\n         * In low sensitivity fence mode, the advertisement packets are reported only when they are received for\n         * the first time and lost for the last time. The reception sensitivity is low.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 18\n         */\n        FENCE_SENSITIVITY_LOW = 10,\n        /**\n         * In high sensitivity fence mode, the advertisement packets are reported only when they are received for\n         * the first time and lost for the last time. The reception sensitivity is high.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 18\n         */\n        FENCE_SENSITIVITY_HIGH = 11\n    }\n    /**\n     * Scan report type used during scan.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 15\n     */\n    enum ScanReportType {\n        /**\n         * The found of advertisement packet.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        ON_FOUND = 1,\n        /**\n         * The lost of advertisement packet.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 15\n         */\n        ON_LOST = 2,\n        /**\n         * The type of advertisement packet reported in batch mode.\n         *\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 19\n         */\n        ON_BATCH = 3\n    }\n    /**\n     * Describes the permission of a att attribute item.\n     *\n     * @typedef GattPermissions\n     * @syscap SystemCapability.Communication.Bluetooth.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 20\n     */\n    interface GattPermissions {\n        /**\n         * The attribute field has the read permission.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        read?: boolean;\n        /**\n         * The attribute field has the encrypted read permission.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        readEncrypted?: boolean;\n        /**\n         * The attribute field has the read permission for encryption authentication.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        readEncryptedMitm?: boolean;\n        /**\n         * The attribute field has the write permission.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        write?: boolean;\n        /**\n         * The attribute field has the encrypted write permission.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        writeEncrypted?: boolean;\n        /**\n         * The attribute field has the write permission for encryption authentication.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        writeEncryptedMitm?: boolean;\n        /**\n         * The attribute field has the signed write permission.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        writeSigned?: boolean;\n        /**\n         * The attribute field has the write permission for signature authentication.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Communication.Bluetooth.Core\n         * @atomicservice\n         * @since 20\n         */\n        writeSignedMitm?: boolean;\n    }\n}\nexport default ble;\n",
}
export default FILE;